Platform Explorer / Nuxeo Platform 5.8

Extension point commandTester

Documentation

Extension point to contribute new command testers. It's a class that provides a way to test if a command is installed on the target server OS.

Available options are: -name: the name of the commandTester.

-class: the class implementing CommandTester interface.

Command tester contribution example:

    <commandTester
        class="org.nuxeo.ecm.platform.commandline.executor.service.cmdtesters.SystemPathExistTester" name="SystemPathTester"/>

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.commandline.executor.service.CommandTesterDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-commandline-executor-5.8.jar
    <extension point="commandTester" target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent">
    
        <documentation>
          Simple default tester that only checks for command existence in the system path.
        </documentation>
    
        <commandTester class="org.nuxeo.ecm.platform.commandline.executor.service.cmdtesters.SystemPathExistTester" name="SystemPathTester">
        </commandTester>
    
      </extension>